import React from 'react'
import ReactDOM from 'react-dom/client'
import router from '@/router'
import { RouterProvider } from 'react-router-dom' // 注入路由
import { Provider } from 'react-redux' // 注入仓库
import './theme.css' // 主题定制 antd-mobile
import './index.css'
import store from '@/store'
const root = ReactDOM.createRoot(document.getElementById('root'))

root.render(
  <Provider store={store}>
    <RouterProvider router={router}></RouterProvider>
  </Provider>
)
